//
//  InstrumentController.m
//  LittleSummary
//
//  Created by 郝旭珊 on 2018/3/20.
//  Copyright © 2018年 郝旭珊. All rights reserved.
//

#import "InstrumentController.h"
#import "ClassA.h"
#import "ClassB.h"

@interface InstrumentController ()

@property (nonatomic, copy) void(^block)(void);
@property (nonatomic, copy) NSString *name;


@end

@implementation InstrumentController

- (void)viewDidLoad {
    [super viewDidLoad];


    ClassA *ca = [ClassA new];
    ClassB *cb = [ClassB new];

//    NSString *string = @"dee";
//    NSLog(@"%lu",[string retainCount]);
//
//    //block 里面的东西都会被复制一份，block 强制引用了一份 self，形成我中有你，你中有我
//    self.block = ^{
//        NSLog(self.name);
//    };

}


@end
